/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sisgea.conexaobd;
import java.sql.Connection;

import javax.swing.JOptionPane;

public class TesteConexaoBD {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Connection conexo;
                
		try {
			conexo=ConexaoBD.getConexao();
			JOptionPane.showMessageDialog(null,"Conectou");
		} catch (Exception e) {

			e.printStackTrace();
			JOptionPane.showMessageDialog(null,e.getMessage());
		}

/**
		try {
			DAOEstado daoEstado = new DAOEstado();
			daoEstado.listaTodos();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

*/
	}
}
